//
//  WYHttpServer+WYHome.m
//  Hangbag
//
//  Created by admin on 2018/2/11.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYHttpServer+WYHome.h"

@implementation WYHttpServer (WYHome)
+(void)getHomeListSucessBlock:(void (^)(BOOL, id, NSString *))completion
{
    AFHTTPSessionManager *manager=[[WYHttpServer sharedInstance] requestManager];
    NSMutableDictionary *parm=[[WYHttpServer sharedInstance] requestParameters];
    [[WYHttpServer sharedInstance] postOperationWithManger:manager Url:KUrlHome WithPara:parm Success:^(BOOL success, id response, NSString *errorMsg) {
        completion(success,response,errorMsg);
    }];
}
@end
